#include"AList.h"
#include"iostream"
using namespace std;
int main(){
    AList<int> L;
    cout << "1. 插入 5 个元素 10,20,30,40,50（尾插）\n";
    for (int i = 0; i < 5; ++i)
        L.append((i + 1) * 10);

    cout << "   长度 = " << L.length() << "\n\n";

    cout << "2.插入 99\n";
    L.insert(99);
    cout << "   长度 = " << L.length() << "\n\n";

    cout << "3. 删除下标 3 的元素\n";
    L.remove();
    cout << "   长度 = " << L.length() << "\n\n";
    






}